package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/14.
 */

public class GoodsOrderDetailsEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public static class Result {
        @Expose
        @SerializedName("create_time")
        public String createTime;
        @Expose
        @SerializedName("order_type")
        public int orderType;
        @Expose
        @SerializedName("receiver_phone")
        public String receivePhone;
        @Expose
        @SerializedName("order_id")
        public String orderId;
        @Expose
        @SerializedName("receiver_address")
        public String receiverAddress;
        @Expose
        @SerializedName("total_price")
        public float totalPrice;
        @Expose
        @SerializedName("dead_time")
        public String deadTime;
        @Expose
        @SerializedName("shop_id")
        public int shopId;
        @Expose
        @SerializedName("receiver_name")
        public String receiveName;
        @Expose
        @SerializedName("receiver_info_id")
        public String receiverInfoId;
        @Expose
        @SerializedName("user_id")
        public int usrId;
        @Expose
        @SerializedName("shop_owner_id")
        public int shopOwnerId;
        @Expose
        @SerializedName("shop_name")
        public String shopName;
        @Expose
        @SerializedName("freight")
        public float freight;
        @Expose
        @SerializedName("logistic_code")
        public String logisticId;
        @Expose
        @SerializedName("product_list")
        public List<Goods> goodsList;

    }

    public static class Goods {
        @Expose
        @SerializedName("product_sku_id")
        public String skuId;
        @Expose
        @SerializedName("product_name")
        public String goodsName;
        @Expose
        @SerializedName("original_price")
        public float originalPrice;
        @Expose
        @SerializedName("number")
        public int count;
        @Expose
        @SerializedName("product_property")
        public String property;
        @Expose
        @SerializedName("discounted_price")
        public float discountedPrice;
        @Expose
        @SerializedName("product_id")
        public int goodsId;
        @Expose
        @SerializedName("product_cover_image_url")
        public String image;
    }
}
